<template>
	<view>
		<view class="view_head">
			<!-- <image></image> -->
			<view class="img_data"></view>
		</view>
		<view class="view_name">
			<input :placeholder="$t('login.name-placeholder')"/>
		</view>
		<view class="view_pwd">
			<input :placeholder="$t('login.pwd-placeholder')"/>
			<text class="iconfont icon-mima-chakanyincang"></text>
		</view>
		<view class="view_btn"> 
			<text>登录</text>
		</view>
		<view class="view_desc">
			<text class="iconfont icon-duoxuan_weixuanzhong"></text>
			<text>已阅读并同意</text>
			<text class="view_link">用户协议</text>
			<text>与</text>
			<text class="view_link">隐私政策</text>
		</view>
		
		<view class="view_action">
			<view class="va_left">
				<!-- <text class="iconfont icon-duoxuan_weixuanzhong"></text>
				<text>记住密码</text> -->
			</view>
			<view class="va_right" @click="toRegister">
				<text>立即注册</text>
			</view>
		</view>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				
			}
		}, 
		methods: {
			toRegister(){
				uni.navigateTo({
					url:"/pages/register/register"
				})
			}
		}
	}
</script>

<style lang="scss">
	.view_head{
		width: 100%;
		padding: 0 30rpx;
		box-sizing: border-box;
		background: #fff;
		height: 300rpx;
		margin-top: 30rpx;
	}
	.img_data{
		background-color: $uni-bg-color-grey;
		width: 100%;
		height: 100%;
	}
	.view_name{
		width: calc(100% - 60rpx);
		height: 65rpx;
		margin-left: 30rpx;
		border: 1px solid #e6e6e6;
		border-radius: 32rpx;
		margin-top: 30rpx;
		display: flex;
		align-items: center;
		justify-content: flex-start;
	}
	.view_name input{
		width: 100%;
		padding: 0 30rpx;
		box-sizing: border-box;
		font-size: 28rpx;
		background-color: transparent;
		height: 50rpx;
		border: 0px;
		outline: none;
	}
	.view_pwd{
		width: calc(100% - 60rpx);
		height: 65rpx;
		margin-left: 30rpx;
		border: 1px solid #e6e6e6;
		border-radius: 32rpx;
		display: flex;
		align-items: center;
		justify-content: flex-start;
		margin-top: 30rpx;
		padding-right: 15rpx;
		box-sizing: border-box;
	}
	.view_pwd input{
		width: 100%;
		padding: 0 30rpx;
		box-sizing: border-box;
		font-size: 28rpx;
		background-color: transparent;
		height: 50rpx;
		border: 0px;
		outline: none;
	}
	.view_pwd .iconfont{
		font-size: 28rpx;
		color: #666666;
	}
	.view_btn{
		width: calc(100% - 60rpx);
		margin-left: 30rpx;
		margin-top: 60rpx;
		background: $uni-color-primary;
		height: 70rpx;
		display: flex;
		align-items: center;
		justify-content: center;
		font-size: 28rpx;
		color: #fff;
		border-radius: 8rpx;
	}
	.view_desc{
		width: 100%;
		display: flex;
		align-items: center;
		justify-content: flex-start;
		margin-top: 15rpx;
		padding: 0 30rpx;
		box-sizing: border-box;
		font-size: 28rpx;
		color: #666666;
	}
	.view_desc .iconfont{
		font-size: 36rpx;
		color: #000000;
		margin-right: 5rpx;
	}
	.view_link{
		color: $uni-color-primary;
	}
	.view_action{
		width: 100%;
		display: flex;
		align-items: center;
		justify-content: space-between;
		padding: 0 30rpx;
		box-sizing: border-box;
		margin-top: 15rpx;
	}
	.va_right{
		font-size: 24rpx;
		color: #888888;
	}
</style>
